<template>
  <div id="app" style="width:80%;padding-left: 10%;">
    <el-container>
        <el-header>
            <Nav class="nav" :index="this.$route.meta.index" />
        </el-header>
        <el-main>
            <div >
                <router-view />
            </div>
        </el-main>
        <el-footer><Footer /></el-footer>
    </el-container>
    <el-backtop target=".page-component__scroll .el-scrollbar__wrap"></el-backtop>
  </div>
</template>

<script>
import Nav from '@/components/Nav.vue' // 导航栏
import Footer from '@/components/Footer.vue' // 底部导航

export default {
  components: {
    Nav,Footer
  },
}
</script>

<style>
#app {
  /* font-family: Avenir, Helvetica, Arial, sans-serif; */
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* text-align: center; */
  color: #2c3e50;
  
}
/* .nav {
  width: 80%;
  padding-left: 10%;
} */

</style>
